<?php 
namespace app\model;
use think\Model;

class Assistant extends Model
{	

	public static function getTypeCn($key){
        $list = ['baidu'=>'百度文心'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['baidu'=>'百度文心'];
        return $list;
    }

    public static function getRequestTypeCn($key){
        $list = ['HTTP'=>'HTTP','WSS'=>'WSS','SSE'=>'SSE'];
        return $list[$key];
    }

    public static function getRequestTypeList(){
        $list = ['HTTP'=>'HTTP','WSS'=>'WSS','SSE'=>'SSE'];
        return $list;
    }

    public static function getCommonIsCn($key){
        $list = [1=>'是',0=>'否'];
        return $list[$key];
    }

    public static function getCommonIsList(){
        $list = [1=>'是',0=>'否'];
        return $list;
    }
	
}


 ?>